<?php

    // TITLE:
    // FILE:
    // AUTHOR:
    // DATE:

    if ($guest) {
        
        echo '<h3>Guest: ' . $guest->getFullName() . '</h3>';
        
         // address
        include appInclude($dir . '/view/' . 'viewAddress.php');
        
        // phone
        include appInclude($dir . '/view/' . 'viewPhone.php');
        
        // email
        echo '<h4>Email</h4>';
        echo $guest->getEmail() . '<br>';
        
        // guest list count
        echo '<h4>' . objCount($guestLists, 'Guest List', 'Guest Lists') . '</h4>';
        include $dir . '/view/list/guestList.php';
        
        // sub-event count
        echo '<h4>' . objCount($subEvents, 'Sub Event', 'Sub Eventts') . '</h4>';
        include $dir . '/view/list/subEvents.php';
        
    } else {
        echo '<h3>No Guest</h3>';
    }

?>